# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=syncplay
pkgver=1.6.9
pkgrel=0
pkgdesc="Synchronize watching movies on mplayer2, vlc, mpv, and mpc-hc across many computers"
url="http://syncplay.pl"
arch="noarch !armhf !riscv64" # riscv64, armhf - py3-pyside2
license="Apache-2.0"
depends="
	python3
	py3-twisted
	py3-pyside2
	"
makedepends="py3-setuptools_scm"
source="$pkgname-$pkgver.tar.gz::https://github.com/Syncplay/syncplay/archive/v$pkgver.tar.gz"
options="!check" # testing requires pip

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --root "$pkgdir"
}

sha512sums="
317e7cc966182259e552898ae05e620caf0f8e0ae0b6917235c391bcae1ef9679f1e97cfb46f6d8c6edcd9a5c573e5ab4ff5e27b5e203980a99ade065d9a6b65  syncplay-1.6.9.tar.gz
"
